package com.baor.finance.service;

import java.util.List;
import com.baor.finance.domain.Refund;

/**
 * 会员退款Service接口
 * 
 * @author ruoyi
 * @date 2025-07-18
 */
public interface IRefundService 
{
    /**
     * 查询会员退款
     * 
     * @param refundId 会员退款主键
     * @return 会员退款
     */
    public Refund selectRefundByRefundId(Long refundId);

    /**
     * 查询会员退款列表
     * 
     * @param refund 会员退款
     * @return 会员退款集合
     */
    public List<Refund> selectRefundList(Refund refund);

    /**
     * 新增会员退款
     * 
     * @param refund 会员退款
     * @return 结果
     */
    public int insertRefund(Refund refund);

    /**
     * 修改会员退款
     * 
     * @param refund 会员退款
     * @return 结果
     */
    public int updateRefund(Refund refund);

    /**
     * 批量删除会员退款
     * 
     * @param refundIds 需要删除的会员退款主键集合
     * @return 结果
     */
    public int deleteRefundByRefundIds(Long[] refundIds);

    /**
     * 删除会员退款信息
     * 
     * @param refundId 会员退款主键
     * @return 结果
     */
    public int deleteRefundByRefundId(Long refundId);

    //审核成功
    public int changeType(Long refundId);
    public int changeType2(Long refundId);
}
